package com.hayabusa.service;/*
 * @author Hayabusa
 * @date  2021/3/31 14:26
 * @Email:2682557218@qq.com
 */



import com.hayabusa.pojo.User;

import java.util.List;

public interface IUserService {
    List<User> findAll();
    List<User> findInSolr(Integer pageNo,Integer pageSize,String name);
    User findByUserName(String username);
    int delById(Integer id) throws Exception;

    User selectById(Integer id);
    User getByEmail(String email);

    void editById(Integer id, String username, String password);
    int insertUser(User user) throws Exception;

    int focusUser(String email);
    int unfocusUser(String email);
}
